package com.lj.graduate.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author ljy
 * @since 2023-03-24
 */
@Data
@ApiModel(value = "Commodity对象", description = "")
public class Commodity implements Serializable {


      @TableId(value = "commodity_id", type = IdType.AUTO)
      private Integer commodityId;

    private String commodityName;

    private Integer commodityPrice;

    private String commodityPicture;

    private String commodityDetail;

    @TableLogic
    private Integer deleted;

    private Integer number;

}
